﻿
using Admin.NET.Core;
namespace Admin.NET.Plugin.ApprovalFlow;

/// <summary>
/// 审批抄送记录表
/// </summary>
[SugarTable("approval_carbon_copy","审批抄送记录表")]
[SysTable]
public class ApprovalCarbonCopy  : EntityTenant
{
    /// <summary>
    /// 属于那个表单
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "Flow_id", ColumnDescription = "属于那个表单", Length = 255)]
    public string Flow_id { get; set; }
    
    /// <summary>
    /// 推送那条审批的ID
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "approval_info_id", ColumnDescription = "推送那条审批的ID", Length = 255)]
    public string approval_info_id { get; set; }
    
    /// <summary>
    /// 接收抄送人
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "user_id", ColumnDescription = "接收抄送人", Length = 255)]
    public string user_id { get; set; }
    
    /// <summary>
    /// 抄送时间
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "create_time", ColumnDescription = "抄送时间")]
    public DateTime create_time { get; set; }
    
    /// <summary>
    /// 是否已读[1:已读；0:未读]
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "read", ColumnDescription = "是否已读[1:已读；0:未读]")]
    public bool read { get; set; }
    
    /// <summary>
    /// 那个节点抄送的
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "approval_node", ColumnDescription = "那个节点抄送的")]
    public bool approval_node { get; set; }
    
}
